BitPayVendor\BitPayLib\BitPayPaymentSettings S

Total Complexity 37
Dependencies 3
Dependents 4
Total lines 152
Lines of code 128
Logical lines of code 63
Comment lines 5
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
check_token()
S
57 7 15
define_payment_gateway()
S
61 6 11
redirect_after_purchase()
S
57 5 17
bitpay_mini_checkout()
S
54 2 28
get_bitpay_token()
S
63 3 11
bitpay_checkout_replace_order_button_html()
S
73 2 6
get_custom_redirect_page()
S
69 2 7
get_checkout_slug()
S
69 2 7
wc_bitpay_checkout_add_to_gateways()
S
76 1 4
get_bitpay_environment()
S
80 1 3
should_use_modal()
S
75 1 4
get_checkout_message()
S
79 1 3
get_bitpay_gateway_setting()
S
79 1 3
get_bitpay_gateway_settings()
S
80 1 3
get_close_url()
S
79 1 3
should_capture_email()
S
79 1 3